<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script>
		document.write("1980-2018年间的闰年有：<br>");
		for (var i = 1980; i <= 2018; i++) {
			if(i % 4 != 0)
			continue
			if(i % 100 == 0 && i % 400 != 0)
			continue
			document.write(i + "&nbsp");
		}
	</script>
	<body>
	</body>
</html>
